package com.pine.common.captcha.config;

import com.pine.common.captcha.core.CaptchaFontStyleEnum;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 验证码font配置属性类
 *
 * @author pine manage
 * @since 2024-08-21
 */
@Data
@ConfigurationProperties(prefix = "pine.common.captcha.font")
public class CaptchaFontProperties {
    /**
     * 字体名称
     */
    private String name;
    /**
     * 字体样式  0-普通|1-粗体|2-斜体
     */
    private CaptchaFontStyleEnum style;
    /**
     * 字体大小
     */
    private int size;
}
